it in a better way.
Finally instead of
\blackrule[color=black, height=0.10ex, width=13.50cm]
you can use just \hairline, and the thickness and color of such a \hairline can
be adjusted by
\setupthinrules[rulethickness=4pt,color=darkgreen]
(for instance), which should be put before
{1}{\n}}
\starttext
%% dots are vertically aligned
\dorecurse{6}{%%
Foo \PavelFiller Bar\par}
\hairline
%% dots are not aligned
\dorecurse{6}{%%
\oneword\PavelFiller\oneword\par}
\stoptext
Marco
LMTX 2023.09.04 19:15
Dear List,
After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
bruary 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe
Joel via ntg-context schrieb am 25.11.2022 um 23:25:
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2]
{%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2] {%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]
\starttext
\placecontent
\hairline
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\stoptext
Check if your braces/brackets are r
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context:
Not working, besides "[alternative=d]" apears on top of the first pdf page.
This works for me:
\setuppapersize[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]
\starttext
\placecontent
...
\startprompt
\item
\stopprompt
> %written answer (produces some lines after the question for writing an answer)
>
> \define[1]\writingbox{%
> \dorecurse{#1}{%
> \hairline%
> }
> }
There is also: https://wiki.contextgarden.net/Command/fillinrules
Aditya
]\writingbox{%
\dorecurse{#1}{%
\hairline%
}
}
\startitemize[n]
\item Which planet is closest to Earth? \writingbox{4}
\item What is the moon made of? \writingbox{4}
\stopitemize
%materials list
\startcolumns[n=3]\startitemize
\item crayons
\item scissors
\item glue
\stopitemize
. I note a difference when I define
highlighting. I expected to see no difference in the line before and
line after the hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference
expected to see no difference in the line before and
line after the hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference?
\setupbodyfontenvironment
[default]
[em=italicface] %same
the hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference?
\setupbodyfontenvironment
[default]
[em=italicface] %same with italic for this example
\definehighlight
Hello list mavens,
What are the circumstances under which style=italicface should be used
instead of style=italic. I note a difference when I define highlighting.
I expected to see no difference in the line before and line after the
hairline the example below, but see that italicface adapts
Sorry, I didn't send the correct example…
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline}\dontleavehmode\hairline
\startformula
\margintext{Me
Hi Uschi,
You may add \dontleavehmode at the right place as in the following:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Dear Pablo!
I have done some changes. How can I get both hairlines in the same height:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Hello list, and developers in particular,
I note that thinrules (and its setup, setupthinrules, and relatives
thinrule and hairline) does not have a width setting, and always sets a
rule (or rules) the full width of the text area (less any text set on
the same line.
No problem, but I do see
' is active
open source > level 2, order 3, name './j2.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
fonts > defining > font with asked name 'jost-100-hairline' is
not found using lo
-100-hairline]
\definefont [JThin] [jost-200-thin]
\definefont [JLigh] [jost-300-light]
\definefont [JBook] [jost-400-book]
\definefont [JMedi] [jost-500-medium]
\definefont [JSemi] [jost-600-semi]
\definefont [JBold] [jost
,
header=0pt,
footer=0pt]
\setuppagenumbering [location=]
\definefontfeature [default]
[default]
[ss01=yes]
\definefont [JHair] [jost-100-hairline]
\definefont [JThin] [jost-200
},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext
test-scriptfonts-mkiv.pdf
Description
Wolfgang will cook up a patch ...
The best solution is to remove the values from all three keys because
for now each of them is applies twice (even the style).
\setuptyping
[before=\hairline,
after=\hairline,
style=\tt\em]
\starttext
\starttyping[option=tex]
\donothing
\stoptyping
Fabrice Couvreur schrieb am 01.12.18 um 12:43:
Hello,
I would like to replace the dashed lines with a solid line much like
with the \hairline command
Thank you.
Fabrice
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\starttext
\input knuth \dorecurse{5}{\filler[dots
Hello,
I would like to replace the dashed lines with a solid line much like with
the \hairline command
Thank you.
Fabrice
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\starttext
\input knuth \dorecurse{5}{\filler[dots]}
\input knuth \dorecurse{5}{\hairline}
\stoptext
On Fri, 15 Jun 2018 00:20:23 -0700
"jdh" wrote:
> I want to use a colored hairline, but can't get it working and can't
> find anything to explain any options or parameters.
>
> I've tried
>
> \setuptextrules[rulecolor=red,color=red]
> \hairline
>
I want to use a colored hairline, but can't get it working and can't find
anything to explain any options or parameters.
I've tried
\setuptextrules[rulecolor=red,color=red]
\hairline
or
\hairline[color=red]
Doesn't work
this is a test \thinrule[color
:\TalkSpeakerName]{}
{\bi Speaker~:\/} \TalkSpeakerName \speakers{\TalkSpeakerName}.\crlf
{\bi Title :} \TalkTitle \crlf
{\bi Time:} \TalkTime \crlf
{\bi Room :} \TalkRoom\crlf
\hairline\par}
\starttext
\getparameters[Talk]%
[SpeakerName
file, even it were part of an \input file. For instance after typesetting the
file:
%%% begin synctex-example.tex
\setupsynctex[state=start,method=max]
\starttext
\input knuth.tex
\hairline
\input ward.tex
\stoptext
%%% end synctex-example.tex
I could click on the sentence « The separation of any
. For instance after typesetting the
file:
%%% begin synctex-example.tex
\setupsynctex[state=start,method=max]
\starttext
\input knuth.tex
\hairline
\input ward.tex
\stoptext
%%% end synctex-example.tex
I could click on the sentence « The separation of any of these » in the PDF
file and the file
gt; \doifinstringelse{\mymacro}{123}{equal content}{not equal content}
>
> \doifincsnameelse{\mymacro}{123}{equal content}{not equal content}
>
>
> \hairline
>
> mymacro[123]
>
> \doifelse{\mymacro[123]}{123}{equal content}{not equal content}
>
> \doifsamestringelse{
}
\doifincsnameelse{\mymacro}{123}{equal content}{not equal content}
\hairline
mymacro[123]
\doifelse{\mymacro[123]}{123}{equal content}{not equal content}
\doifsamestringelse{\mymacro[123]}{123}{equal content}{not equal content}
\doifinstringelse{\mymacro[123]}{123}{equal content}{not equal
ot;mymacro", {
macro = function ()
context.dosingleempty()
context["domymacro"]()
end
})
\stopluacode
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymac
if you
directly feed back into tex anyway
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymacro
\myothermacro
\hairline
\doifelse{\mymacro}{\mymacro[123]}{equal content}{not equal content}
\doifsamestringelse{\mymacro}{\mymacro[123]}{equal content}{not equal content}
\doifins
context["domymacro"]()
> end
>})
> \stopluacode
>
> \def\myothermacro{123}
>
> \hairline
>
> \mymacro[123]
>
> \mymacro
>
> \my
> macro = function ()
> context.dosingleempty()
> context["domymacro"]()
> end
> })
> \stopluacode
>
> \def\myothermacro{123}
>
> \hairline
>
&
uot;mymacro", {
macro = function ()
context.dosingleempty()
context["domymacro"]()
end
})
\stopluacode
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymacro
\myothermacro
\hairline
-1}}\Bigr)^2
\stopformula
\startformula
\sqrt{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2}
\stopformula
\stopbuffer
\getbuffer[math]
\hairline
\setupmathradical[sqrt][alternative=default]
\getbuffer[math]
\stoptext
interesting side effect of Ustack (i'll look at it)
Hans
{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2}
\stopformula
\stopbuffer
\getbuffer[math]
\hairline
\setupmathradical[sqrt][alternative=default]
\getbuffer[math]
\stoptext
%%% end of test file
> On 7 Jun 2017, at 16:50, Mikael P. Sundqvist <mic...@gmail.com> wrote:
>>
{#1}\par
\stopxmlsetups
\startbuffer[test]
\stopbuffer
\startbuffer[dataset]
this is subnode-1
this is subnode-2
this is subnode-3
\stopbuffer
\starttext
\xmlprocessbuffer{root}{test}{}
\hairline
\stoptext
\starttext
\xmlprocessbuffer{root}{test}{}
\hairline
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo
} =
O(1) \NR[eq:O-ev-1]
\NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1)
\NR[eq:O-ev-2]
\NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} =
o(u_{n}v_{n}) \NR[+]
\stopLgather
\stopformula
\blank
\hairline
\blank
\startformula
\startalign[n=2,align=left
-1]
\NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1)
\NR[eq:O-ev-2]
\NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} =
o(u_{n}v_{n}) \NR[+]
\stopLgather
\stopformula
\stopproclaim
\blank
\hairline
\blank
\setupformulas[location=right]
\startproclaim
uccess with the MWE I posted earlier.
Try as a might, I cannot seem to keep the paragraph head "{\ss\tfc
English (Grade 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the paragraph
cannot seem to keep the paragraph head "{\ss\tfc
English (Grade 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the paragraph header, hairline, and
paragraph body.
Would
de 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the paragraph header, hairline, and
paragraph body.
Would anyone have any suggestions on how to accomplish this?
Many thanks.
stripped away most of the details as well as the application
fonts, but the issue that I am facing is related to keeping the course
header (done as a paragraph environment), \hairline, and the teacher's
comment for that course together as a unit.
At a minimum, I would like the three elements
=.25em]
but these do not work.
One might think about trying
\bTR [bottomframe=on,framecolor=white,rulethickness=.25em]
...
\eTR
but this presents several problems:
1) When using background=color, the background color gives a hairline
overflow beyond the rule, at least using the pdf viewers that I have
might think about trying
\bTR [bottomframe=on,framecolor=white,rulethickness=.25em]
...
\eTR
but this presents several problems:
1) When using background=color, the background color gives a hairline
overflow beyond the rule, at least using the pdf viewers that I have on
my computer.
2
[Angell] \cite[Me] \cite[101]!
\hairline
\placelistofpublications[criterium=all]
\stoptext
--
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
]
\starttext
Hello \cite[Angell] \cite[Me] \cite[101]!
\hairline
\placelistofpublications[criterium=all]
\stoptext
crashes with:
D:\Lukas\Docs\Ull-Gra\Testcontext.exe Bib64.mkiv --nonstopmode
mtx-context | run 1: luatex
--fmt=c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context
%%
\starttext
Hello \cite[Angell] \cite[Me] \cite[101]!
\hairline
\placelistofpublications[criterium=all]
\hairline
%\placepublications[criterium=all] % (2)
\stoptext
Some more questions:
1) Is \placepublications deprecated?
I'm getting Undefined control sequence when I uncomment
Hello,
let's have the following example with hidden section:
\definehead[HidSec][section]
\setuphead[HidSec][placehead=hidden]
\starttext
\placecontent
\hairline
\HidSec{A}
\subsection{B}
\subsection{C}
\stoptext
It gives:
1.1 B 1
---
1.2 B
1.2 C
Whilst I'd
Hello,
I'm not able to limit level of sections in TOC so to not show \subsubsection:
%\setuplist[content][level=subsection] % Doesn't work
%\setuplist[content][section,subsection] % Doesn't work
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
\placecontent[level
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
\placecontent[level=3] % Doesn't work
\hairline
\section{Sec}
\subsection{SSec}
\subsubsection{SSSec}
\stoptext
I studied wiki (http://wiki.contextgarden.net/Command/setuplist) and
also contextref.pdf (pg. 218
\subsubsection:
%\setuplist[content][level=subsection] % Doesn't work
%\setuplist[content][section,subsection] % Doesn't work
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
\placecontent[level=3] % Doesn't work
\hairline
\section{Sec}
\subsection{SSec
()}}
\SetListOfFunctionNames[a,b,c,d]
\dorecurse{10}{
Give an example of a function
$\NewFunctionName : {\Bbb R} \longrightarrow {\Bbb R}$
which has a derivative only at the origin, and such that
$\FunctionName(0) = 1$.
\par \hairline\par
}
\stoptext
end choose-random-names.tex
\hairline\par
}
\stoptext
end choose-random-names.tex by Hans
On 18 Apr 2015, at 22:36, Hans Hagen pra...@wxs.nl wrote:
On 4/18/2015 10:24 PM, Otared Kavian wrote:
Hi again Wolfgang,
Thanks to your hint, I could solve the problem…
In case someone else would encounter a similar problem
, and such that
$\RandomFunctionName(0) = 1$.\par \hairline\par}
\stoptext
begin random-names.tex
You can access the size of your Name table with #Name but have to replace #
with \letterhash when you use it in a TeX command because # is already taken
for the TeX arguments.
\starttext
\startluacode
])}}
\dorecurse{10}{\RandomName{FunctionNumber}{1}{5}%
Give an example of a function $\RandomFunctionName : {\Bbb R} \longrightarrow
{\Bbb R}$ which has a derivative only at the origin, and such that
$\RandomFunctionName(0) = 1$.\par \hairline\par}
\stoptext
begin random-names.tex
$\RandomFunctionName : {\Bbb R}
\longrightarrow {\Bbb R}$ which has a derivative only at the origin, and
such that $\RandomFunctionName(0) = 1$.\par \hairline\par}
\stoptext
begin random-names.tex
You can access the size of your Name table with #Name but have to replace #
with \letterhash
, and such that
${\ChosenFunction}'(0) = 1$.\par \hairline\par}
\stoptext
end choose-element.tex
\starttext
\startluacode
local FunctionNames = { G , W }
local FunctionName = FunctionNames[1]
function document.SetFunctionNames(list)
FunctionNames
$.\par \hairline\par}
\stoptext
end choose-element.tex
On 18 Apr 2015, at 19:23, Wolfgang Schuster schuster.wolfg...@gmail.com
wrote:
Am 18.04.2015 um 18:55 schrieb Otared Kavian ota...@gmail.com:
Hi everyone,
In the example below I define a macro which chooses at random a name from
.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure
{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure][suffix={. ábra},numberstopper={.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][suffix={. ábra
.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim{\setuplabeltext[figure={}]}
Result:
Reference to figure 1 (\in{figure}[figure-1])
\placefigure[][figure-1]{This is the caption}{\framed{Some figure}}
\hairline
\setupcaption[figure
initial
prd_book.tex ===
\startproduct prd_book
\project project_cataoia
\starttext
\start
\startstandardmakeup[doublesided=no]
\ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Chess}%
\blank[line]
\leftaligned{and the Art of}%
\blank[line
\bf } % begin column hook
\def\ech{\egroup,\ } % end column hook
\def\blinehook{Here is new \numline. line of CSV file:\crlf } % begin
line hook
\def\elinehook{\hairline\par} % end line hook
\def\bfilehook{Here is all CSV file:\blank[2*big] } % begin CSV file hook
\def\efilehook{\par Here
} % begin
line hook
\def\elinehook{\hairline\par} % end line hook
\def\bfilehook{Here is all CSV file:\blank[2*big] } % begin CSV file hook
\def\efilehook{\par Here is end of file processing\par} % end CSV file hook
\doloopif{1}{==}{1}{\tablelineaction}
\stoptext
Dne 8.12.2014 17:21
Empty page (first left)
Right page with text (not yet in the lower left corner
Left page with statement
Right page with page number on top
This is what I have in my prd_book.tex. What is a cleaner way to do this and
also one that works? ;-):
\starttext
\start
\startstandardmakeup \ss
\hairline
with statement
Right page with page number on top
This is what I have in my prd_book.tex. What is a cleaner way to do this and
also one that works? ;-):
\starttext
\start
\startstandardmakeup \ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Foo}%
\blank[line
Hello ConTeXist.
Is there possibility move hairline in itemize environment to the leftto
start from the beginning of the line independently indentation environment?
Thanx Jaroslav Hajtmar
Here is minimal example:
\starttext
\startitemize[n]
\item \input ward
\hairline %this line move
=no,
before={\hairline},
after={\hairline\blank[.4cm]}
Matthias
On Aug 17, 2014, at 2:40 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
Is there a way to get underlined headers with \setuphead
My goal is pages without header info at the top and text plus a pagenumber on
the bottom. This can be accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
\setupfootertexts[some text][pagenumber]
I want the first page without
Am 20.07.2014 um 12:03 schrieb Meer, H. van der h.vanderm...@uva.nl:
My goal is pages without header info at the top and text plus a pagenumber on
the bottom. This can be accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes
]{%
Hello
}
\framed[width=5cm,align=yes]{%
Hello
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
%Hello
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
\vskip-1.3\baselineskip
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
\hairline
\startformula
x
? (If not, is there any other way to set `before` without breaking
the headers?)
Here an example:
\setuphead[chapter][
before=\hairline\blank, % headers work, if this line is removed
after=\nowhitespace\hairline,
]
\setuppagenumbering[location=] % clear page numbers
={\bf\sc},
before=\hairline\blank,
after=\nowhitespace\hairline]
\setuphead
[section]
[color=grisoscuro,numberstyle=bold,
textstyle={\sc\bf}]
\setuphead
[subsection]
[color=grisoscuro,textstyle=\sc]
%\define[2]\dos{%
% \bTABLE
% \setupTABLE[align=middle]
% \setupTABLE[r][1][style
switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
Is there a reason why you use \crlf to end the lines?
When you would end the paragraph after each line the additional line wouldn't
appear.
inline
[euler]
Font switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki
[lucidaot]
\starttext
First line.\crlf
\start
\switchtobodyfont[euler]
Font switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
fontswitch.pdf
Description: fontswitch.pdf
to early away. Here the attached output.
\setuppapersize[A6][A6]
\setupbodyfont[lucidaot]
\starttext
First line.\crlf
\start
\switchtobodyfont[euler]
Font switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
Hello everyone,
I'd like to know if it is possible to get a thinner hrule in headers (mkiv).
Right now I am using
\setupheader[after=\hrule]
replacing hrule with thinrule or hairline results in space below the
header text and the line, and the line actually spans two lines.
How can I
Hi,
Maybe you need something like \hairline:
\setupthinrules[height=.1pt,depth=.1pt]
\setupheader[after=\hairline]
You can also enclose your header in a \framed commande, such as
\framed[frame=off,bottomframe=on]
Best regards: OK
On 24 mars 2013, at 13:32, Thomas Kreuzer thomas.kreu
want, a simple way is to use the framedtext
environment which can be positioned on the right margin, complexes
solutions are possible but they require more code.
\defineframedtext[epigraph][location=right,frame=off,offset=.25ex]
\starttext
\title{Ward}
\startepigraph
\input ward
\hairline
If \thinrule is used in \margintext, context gives error. \hairline
works fine.
*Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13
*Error Message:*
! Undefined control sequence.
system tex error on line 2 in file a.tex: Undefined control
sequence ...
1
On 1/24/2013 10:26 AM, Devendra Ghate wrote:
If \thinrule is used in \margintext, context gives error. \hairline
works fine.
You can add an \unexpanded in pack-mrl.mkiv and remake the format:
\unexpanded\def\thinrule
On 1/24/2013 10:26 AM, Devendra Ghate wrote:
**MWE**
\starttext
%\margintext{\thinrule A margintext with thinrule.}
\margintext{\hairline A margintext with hairline.}
\stoptext
btw, after fixing it this becomes a MNWE as a \margintext without
anything following it will never show up
in mkii and mkiv
\item sub-one
\item sub-two
\item sub-three
\item sub-four
\stopitemize
\hairline
\startitemize[n=4] % --- gives correct output in mkii, but not in mkiv
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals
)--(1,0)--(1, 0.7)) scaled u withpen pencircle;
dotlabel.bot(textext($P$),(0,0)*u);
dotlabel.bot(textext($R$),(1,0)*u);
dotlabel.rt(textext($Q$),(1,0.7)*u);
\stopuseMPgraphic
% MISPLACED
\placefigure[right,none]{}{\useMPgraphic{ProofPQR}}
{\it Proof:\/}
\input knuth
\hairline
% WORKS
\placefigure
]{}{\useMPgraphic{ProofPQR}}
{\it Proof:\/}
\input knuth
\hairline
% WORKS
\placefigure[right,none]{}{\useMPgraphic{ProofPQR}}
%{\it Proof:\/}
\input knuth
\hairline
% WORKS
\placefigure[right,none]{}{\useMPgraphic{ProofPQR}}
\strut{\it Proof:\/}
\input knuth
\stoptext
That’s
]{#1}%
\midaligned{#2}}
\setuphead
[chapter]
[command=\ChapterCommand,
after=\hairline\blank,
header=empty,
textstyle=\cgd,
numberstyle=\sca]
\definefontfeature[smallcaps][smallcaps][onum=yes]
\definetypeface[mainface][rm][serif] [pagella] [default]
\definetypeface[mainface
) %% access the requested field
\stopluacode
\space
words.%
}
\starttext
\setupspellchecking[state=start,method=2]
\ctxlua{languages.words.threshold=3}
\input knuth
\hairline
\wordcount %% call to the macro
\stoptext
}{loading include}
\xmlloadbuffer{includes}{load-2}
\stopxmlsetups
\enabletrackers[lxml.loading]
\setuppapersize[S5][S5]
\starttext
\hairline
\xmlprocessbuffer{myroot}{load-1}{}
\hairline
\stoptext
___
If your
Hi All,
I have a chapter heading text starting in the left margin and a hairline
below my header texts spanning the full width of the header. Since the
chapter begins in the left margin, there is no line on top of the chapter
heading text in the margin. How can I get the line to also start
On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote:
I have a chapter heading text starting in the left margin and a
hairline below my header texts spanning the full width of the
header. Since the chapter begins in the left margin, there is no
line on top of the chapter
On Fri, Mar 9, 2012 at 10:32 AM, Marco net...@lavabit.com wrote:
On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote:
I have a chapter heading text starting in the left margin and a
hairline below my header texts spanning the full width of the
header. Since the chapter
On 9 Mar 2012, at 18:32, Marco wrote:
On 2012-03-09 Emmanuel Asante emmanuela.asa...@gmail.com wrote:
I have a chapter heading text starting in the left margin and a
hairline below my header texts spanning the full width of the
header. Since the chapter begins in the left margin
.
Another odd thing -- if I use \setupheader[options...] instead of
\setupheader[text][options...], I get an extra horizontal rule
(\hairline?) on the left side of the page...
- I fixed the font
- I added an extra hsize setting to get the rule right (btw, hairline is
not the best choice here
1 - 100 of 230 matches
Mail list logo